package com.comleader.operator.common.enums;

import com.mybatisflex.annotation.EnumValue;

import lombok.Getter;

/**
 * 功能描述: 通用状态枚举
 * 
 * @Author: 连新景
 * @Date: 2021/2/9 15:33
 */
@Getter
public enum CommonStateEnum {
    /***  */
    ENABLE(0, "启用"),DISABLE(1, "禁用");

    @EnumValue
    private Integer state;
    private String desc;

    CommonStateEnum(Integer state, String desc) {
        this.state = state;
        this.desc = desc;
    }
}